home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 114 / macaddict114.cdr / Software / Utilities / GoogleMaps Plugin.dmg / GoogleMapsPlugin Folder / BTGoogleDirections.bundle / Contents / Resources / Directions.nib / _Directions_EOArchive.java next >
Encoding:
Java Source  |  2005-08-23  |  26.2 KB  |  509 lines

  1. // _Directions_EOArchive.java
  2. // Generated by EnterpriseObjects palette at Saturday, August 20, 2005 11:22:23 PM America/Detroit
  3.  
  4. import com.webobjects.eoapplication.*;
  5. import com.webobjects.eocontrol.*;
  6. import com.webobjects.eointerface.*;
  7. import com.webobjects.eointerface.swing.*;
  8. import com.webobjects.foundation.*;
  9. import java.awt.*;
  10. import javax.swing.*;
  11. import javax.swing.border.*;
  12. import javax.swing.table.*;
  13. import javax.swing.text.*;
  14.  
  15. public class _Directions_EOArchive extends com.webobjects.eoapplication.EOArchive {
  16.     ArrayController _arrayController0, _arrayController1, _arrayController2, _arrayController3;
  17.     ObjectController _objectController0;
  18.     com.webobjects.eointerface.swing.EOFrame _eoFrame0;
  19.     com.webobjects.eointerface.swing.EOImageView _nsImageView0, _nsImageView1;
  20.     com.webobjects.eointerface.swing.EOMatrix _nsMatrix0, _nsMatrix1;
  21.     com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1, _nsTextField2, _nsTextField3, _nsTextField4;
  22.     com.webobjects.eointerface.swing.EOView _nsBox0, _nsBox1, _nsBox2, _nsBox3, _nsCustomView0;
  23.     javax.swing.JButton _nsButton0, _nsButton1;
  24.     javax.swing.JComboBox _popup0, _popup1, _popup2, _popup3;
  25.     javax.swing.JPanel _nsView0;
  26.     javax.swing.JRadioButton _jRadioButton0, _jRadioButton1, _jRadioButton2, _jRadioButton3;
  27.  
  28.     public _Directions_EOArchive(Object owner, NSDisposableRegistry registry) {
  29.         super(owner, registry);
  30.     }
  31.  
  32.     protected void _construct() {
  33.         Object owner = _owner();
  34.         EOArchive._ObjectInstantiationDelegate delegate = (owner instanceof EOArchive._ObjectInstantiationDelegate) ? (EOArchive._ObjectInstantiationDelegate)owner : null;
  35.         Object replacement;
  36.  
  37.         super._construct();
  38.  
  39.         _nsCustomView0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "Resource Holder");
  40.         _nsTextField4 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111");
  41.         _nsBox3 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
  42.         _nsBox2 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox1");
  43.         _nsTextField3 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111");
  44.         _nsBox1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
  45.         _nsBox0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox");
  46.         _objectController0 = (ObjectController)_registered(new ObjectController(), "Proxy");
  47.         _nsButton1 = (javax.swing.JButton)_registered(new javax.swing.JButton("Close"), "NSButton1");
  48.  
  49.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "urlField")) != null)) {
  50.             _nsTextField2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
  51.             _replacedObjects.setObjectForKey(replacement, "_nsTextField2");
  52.         } else {
  53.             _nsTextField2 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1");
  54.         }
  55.  
  56.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "companyImageView")) != null)) {
  57.             _nsImageView1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOImageView)replacement;
  58.             _replacedObjects.setObjectForKey(replacement, "_nsImageView1");
  59.         } else {
  60.             _nsImageView1 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
  61.         }
  62.  
  63.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "personImageView")) != null)) {
  64.             _nsImageView0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOImageView)replacement;
  65.             _replacedObjects.setObjectForKey(replacement, "_nsImageView0");
  66.         } else {
  67.             _nsImageView0 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
  68.         }
  69.  
  70.         _nsMatrix1 = (com.webobjects.eointerface.swing.EOMatrix)_registered(new com.webobjects.eointerface.swing.EOMatrix(2, 1, 0, 0), "NSMatrix1");
  71.  
  72.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endField.nextFocusableComponent.nextFocusableComponent")) != null)) {
  73.             _popup3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JComboBox)replacement;
  74.             _replacedObjects.setObjectForKey(replacement, "_popup3");
  75.         } else {
  76.             _popup3 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton11");
  77.         }
  78.  
  79.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endField.nextFocusableComponent")) != null)) {
  80.             _popup2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JComboBox)replacement;
  81.             _replacedObjects.setObjectForKey(replacement, "_popup2");
  82.         } else {
  83.             _popup2 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton1");
  84.         }
  85.  
  86.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endField")) != null)) {
  87.             _nsTextField1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
  88.             _replacedObjects.setObjectForKey(replacement, "_nsTextField1");
  89.         } else {
  90.             _nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField");
  91.         }
  92.  
  93.         _nsMatrix0 = (com.webobjects.eointerface.swing.EOMatrix)_registered(new com.webobjects.eointerface.swing.EOMatrix(2, 1, 0, 0), "NSMatrix1");
  94.  
  95.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startField.nextFocusableComponent.nextFocusableComponent")) != null)) {
  96.             _popup1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JComboBox)replacement;
  97.             _replacedObjects.setObjectForKey(replacement, "_popup1");
  98.         } else {
  99.             _popup1 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton11");
  100.         }
  101.  
  102.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startField.nextFocusableComponent")) != null)) {
  103.             _popup0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JComboBox)replacement;
  104.             _replacedObjects.setObjectForKey(replacement, "_popup0");
  105.         } else {
  106.             _popup0 = (javax.swing.JComboBox)_registered(new javax.swing.JComboBox(), "NSPopUpButton11");
  107.         }
  108.  
  109.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startField")) != null)) {
  110.             _nsTextField0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
  111.             _replacedObjects.setObjectForKey(replacement, "_nsTextField0");
  112.         } else {
  113.             _nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField");
  114.         }
  115.  
  116.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endCustom")) != null)) {
  117.             _jRadioButton3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JRadioButton)replacement;
  118.             _replacedObjects.setObjectForKey(replacement, "_jRadioButton3");
  119.         } else {
  120.             _jRadioButton3 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "NSButtonCell1");
  121.         }
  122.  
  123.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endBook")) != null)) {
  124.             _jRadioButton2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JRadioButton)replacement;
  125.             _replacedObjects.setObjectForKey(replacement, "_jRadioButton2");
  126.         } else {
  127.             _jRadioButton2 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "NSButtonCell");
  128.         }
  129.  
  130.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startCustom")) != null)) {
  131.             _jRadioButton1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JRadioButton)replacement;
  132.             _replacedObjects.setObjectForKey(replacement, "_jRadioButton1");
  133.         } else {
  134.             _jRadioButton1 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "NSButtonCell1");
  135.         }
  136.  
  137.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startBook")) != null)) {
  138.             _jRadioButton0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JRadioButton)replacement;
  139.             _replacedObjects.setObjectForKey(replacement, "_jRadioButton0");
  140.         } else {
  141.             _jRadioButton0 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "NSButtonCell");
  142.         }
  143.  
  144.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endPeople")) != null)) {
  145.             _arrayController3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (ArrayController)replacement;
  146.             _replacedObjects.setObjectForKey(replacement, "_arrayController3");
  147.         } else {
  148.             _arrayController3 = (ArrayController)_registered(new ArrayController(), "End People");
  149.         }
  150.  
  151.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startPeople")) != null)) {
  152.             _arrayController2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (ArrayController)replacement;
  153.             _replacedObjects.setObjectForKey(replacement, "_arrayController2");
  154.         } else {
  155.             _arrayController2 = (ArrayController)_registered(new ArrayController(), "Start People");
  156.         }
  157.  
  158.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "endAddresses")) != null)) {
  159.             _arrayController1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (ArrayController)replacement;
  160.             _replacedObjects.setObjectForKey(replacement, "_arrayController1");
  161.         } else {
  162.             _arrayController1 = (ArrayController)_registered(new ArrayController(), "End People Addresses");
  163.         }
  164.  
  165.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "startAddresses")) != null)) {
  166.             _arrayController0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (ArrayController)replacement;
  167.             _replacedObjects.setObjectForKey(replacement, "_arrayController0");
  168.         } else {
  169.             _arrayController0 = (ArrayController)_registered(new ArrayController(), "Start People Addresses");
  170.         }
  171.  
  172.         _nsButton0 = (javax.swing.JButton)_registered(new javax.swing.JButton("OK"), "NSButton");
  173.  
  174.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "window")) != null)) {
  175.             _eoFrame0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement;
  176.             _replacedObjects.setObjectForKey(replacement, "_eoFrame0");
  177.         } else {
  178.             _eoFrame0 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Panel");
  179.         }
  180.  
  181.         _nsView0 = (JPanel)_eoFrame0.getContentPane();
  182.     }
  183.  
  184.     protected void _awaken() {
  185.         super._awaken();
  186.         _connect(_objectController0, _owner(), "content");
  187.         _nsButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "closeButton", _nsButton1), ""));
  188.  
  189.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  190.             _connect(_eoFrame0, _owner(), "delegate");
  191.         }
  192.  
  193.         if (_replacedObjects.objectForKey("_nsTextField2") == null) {
  194.             _connect(_owner(), _nsTextField2, "urlField");
  195.         }
  196.  
  197.         if (_replacedObjects.objectForKey("_nsImageView1") == null) {
  198.             _connect(_owner(), _nsImageView1, "companyImageView");
  199.         }
  200.  
  201.         if (_replacedObjects.objectForKey("_nsImageView0") == null) {
  202.             _connect(_owner(), _nsImageView0, "personImageView");
  203.         }
  204.  
  205.         if (_replacedObjects.objectForKey("_popup0") == null) {
  206.             _connect(_owner(), _popup0, "endContact");
  207.         }
  208.  
  209.         if (_replacedObjects.objectForKey("_nsTextField1") == null) {
  210.             _connect(_owner(), _nsTextField1, "endField");
  211.         }
  212.  
  213.         if (_replacedObjects.objectForKey("_popup2") == null) {
  214.             _connect(_owner(), _popup2, "startContact");
  215.         }
  216.  
  217.         if (_replacedObjects.objectForKey("_popup3") == null) {
  218.             _popup3.setModel(new javax.swing.DefaultComboBoxModel());
  219.             _popup3.addItem("Home");
  220.             _popup3.addItem("Item2");
  221.             _popup3.addItem("Item3");
  222.         }
  223.  
  224.         if (_replacedObjects.objectForKey("_popup2") == null) {
  225.             _popup2.setModel(new javax.swing.DefaultComboBoxModel());
  226.             _popup2.addItem("Brian Toth");
  227.             _popup2.addItem("Item2");
  228.             _popup2.addItem("Item3");
  229.         }
  230.  
  231.         if (_replacedObjects.objectForKey("_popup1") == null) {
  232.             _popup1.setModel(new javax.swing.DefaultComboBoxModel());
  233.             _popup1.addItem("Work");
  234.             _popup1.addItem("Item2");
  235.             _popup1.addItem("Item3");
  236.         }
  237.  
  238.         if (_replacedObjects.objectForKey("_popup0") == null) {
  239.             _popup0.setModel(new javax.swing.DefaultComboBoxModel());
  240.             _popup0.addItem("Brian Toth");
  241.             _popup0.addItem("Item2");
  242.             _popup0.addItem("Item3");
  243.         }
  244.  
  245.         if (_replacedObjects.objectForKey("_nsTextField0") == null) {
  246.             _connect(_owner(), _nsTextField0, "startField");
  247.         }
  248.  
  249.         if (_replacedObjects.objectForKey("_jRadioButton3") == null) {
  250.             _connect(_owner(), _jRadioButton3, "endCustom");
  251.         }
  252.  
  253.         if (_replacedObjects.objectForKey("_jRadioButton2") == null) {
  254.             _connect(_owner(), _jRadioButton2, "endBook");
  255.         }
  256.  
  257.         if (_replacedObjects.objectForKey("_jRadioButton1") == null) {
  258.             _connect(_owner(), _jRadioButton1, "startCustom");
  259.         }
  260.  
  261.         if (_replacedObjects.objectForKey("_jRadioButton0") == null) {
  262.             _connect(_owner(), _jRadioButton0, "startBook");
  263.         }
  264.  
  265.         if (_replacedObjects.objectForKey("_arrayController3") == null) {
  266.             _connect(_owner(), _arrayController3, "endPeople");
  267.         }
  268.  
  269.         if (_replacedObjects.objectForKey("_arrayController2") == null) {
  270.             _connect(_owner(), _arrayController2, "startPeople");
  271.         }
  272.  
  273.         if (_replacedObjects.objectForKey("_arrayController1") == null) {
  274.             _connect(_owner(), _arrayController1, "endAddresses");
  275.         }
  276.  
  277.         if (_replacedObjects.objectForKey("_arrayController0") == null) {
  278.             _connect(_owner(), _arrayController0, "startAddresses");
  279.         }
  280.  
  281.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  282.             _connect(_owner(), _eoFrame0, "window");
  283.         }
  284.  
  285.         _nsButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "okButton", _nsButton0), ""));
  286.     }
  287.  
  288.     protected void _init() {
  289.         super._init();
  290.         if (!(_nsCustomView0.getLayout() instanceof EOViewLayout)) { _nsCustomView0.setLayout(new EOViewLayout()); }
  291.         _nsImageView0.setSize(16, 16);
  292.         _nsImageView0.setLocation(5, 6);
  293.         ((EOViewLayout)_nsCustomView0.getLayout()).setAutosizingMask(_nsImageView0, EOViewLayout.MinYMargin);
  294.         _nsCustomView0.add(_nsImageView0);
  295.         _nsImageView1.setSize(16, 16);
  296.         _nsImageView1.setLocation(29, 6);
  297.         ((EOViewLayout)_nsCustomView0.getLayout()).setAutosizingMask(_nsImageView1, EOViewLayout.MinYMargin);
  298.         _nsCustomView0.add(_nsImageView1);
  299.         _setFontForComponent(_nsTextField4, "Lucida Grande", 9, Font.PLAIN);
  300.         _nsTextField4.setEditable(false);
  301.         _nsTextField4.setOpaque(false);
  302.         _nsTextField4.setText("");
  303.         _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  304.         _nsTextField4.setSelectable(false);
  305.         _nsTextField4.setEnabled(true);
  306.         _nsTextField4.setBorder(null);
  307.         if (!(_nsBox3.getLayout() instanceof EOViewLayout)) { _nsBox3.setLayout(new EOViewLayout()); }
  308.         _nsMatrix0.setSize(22, 48);
  309.         _nsMatrix0.setLocation(14, 10);
  310.         ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsMatrix0, EOViewLayout.MinYMargin);
  311.         _nsBox3.add(_nsMatrix0);
  312.         _popup0.setSize(173, 22);
  313.         _popup0.setLocation(45, 10);
  314.         ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_popup0, EOViewLayout.MinYMargin);
  315.         _nsBox3.add(_popup0);
  316.         _popup1.setSize(113, 22);
  317.         _popup1.setLocation(227, 10);
  318.         ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_popup1, EOViewLayout.MinYMargin);
  319.         _nsBox3.add(_popup1);
  320.         _nsTextField1.setSize(296, 19);
  321.         _nsTextField1.setLocation(44, 36);
  322.         ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinYMargin);
  323.         _nsBox3.add(_nsTextField1);
  324.         _nsTextField4.setSize(302, 11);
  325.         _nsTextField4.setLocation(41, 63);
  326.         ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinYMargin);
  327.         _nsBox3.add(_nsTextField4);
  328.         if (!(_nsBox2.getLayout() instanceof EOViewLayout)) { _nsBox2.setLayout(new EOViewLayout()); }
  329.         _nsBox3.setSize(355, 85);
  330.         _nsBox3.setLocation(2, 15);
  331.         ((EOViewLayout)_nsBox2.getLayout()).setAutosizingMask(_nsBox3, EOViewLayout.MinYMargin);
  332.         _nsBox2.add(_nsBox3);
  333.         _nsBox2.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Destination", true, "Lucida Grande", 11, Font.PLAIN));
  334.         _setFontForComponent(_nsTextField3, "Lucida Grande", 9, Font.PLAIN);
  335.         _nsTextField3.setEditable(false);
  336.         _nsTextField3.setOpaque(false);
  337.         _nsTextField3.setText("");
  338.         _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  339.         _nsTextField3.setSelectable(false);
  340.         _nsTextField3.setEnabled(true);
  341.         _nsTextField3.setBorder(null);
  342.         if (!(_nsBox1.getLayout() instanceof EOViewLayout)) { _nsBox1.setLayout(new EOViewLayout()); }
  343.         _nsMatrix1.setSize(22, 48);
  344.         _nsMatrix1.setLocation(14, 10);
  345.         ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsMatrix1, EOViewLayout.MinYMargin);
  346.         _nsBox1.add(_nsMatrix1);
  347.         _popup2.setSize(173, 22);
  348.         _popup2.setLocation(45, 10);
  349.         ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_popup2, EOViewLayout.MinYMargin);
  350.         _nsBox1.add(_popup2);
  351.         _popup3.setSize(113, 22);
  352.         _popup3.setLocation(227, 10);
  353.         ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_popup3, EOViewLayout.MinYMargin);
  354.         _nsBox1.add(_popup3);
  355.         _nsTextField0.setSize(296, 19);
  356.         _nsTextField0.setLocation(44, 36);
  357.         ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinYMargin);
  358.         _nsBox1.add(_nsTextField0);
  359.         _nsTextField3.setSize(302, 11);
  360.         _nsTextField3.setLocation(41, 63);
  361.         ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MinYMargin);
  362.         _nsBox1.add(_nsTextField3);
  363.         if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); }
  364.         _nsBox1.setSize(355, 85);
  365.         _nsBox1.setLocation(2, 15);
  366.         ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin);
  367.         _nsBox0.add(_nsBox1);
  368.         _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Start", true, "Lucida Grande", 11, Font.PLAIN));
  369.         _setFontForComponent(_nsButton1, "Lucida Grande", 13, Font.PLAIN);
  370.         _nsButton1.setMargin(new Insets(0, 2, 0, 2));
  371.  
  372.         if (_replacedObjects.objectForKey("_nsTextField2") == null) {
  373.             _setFontForComponent(_nsTextField2, "Lucida Grande", 11, Font.PLAIN);
  374.             _nsTextField2.setEditable(false);
  375.             _nsTextField2.setOpaque(false);
  376.             _nsTextField2.setText("Visit BrianToth.com");
  377.             _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  378.             _nsTextField2.setSelectable(false);
  379.             _nsTextField2.setEnabled(true);
  380.             _nsTextField2.setBorder(null);
  381.         }
  382.  
  383.         _connect(_nsMatrix1, _nsTextField0, "nextFocusableComponent");
  384.         _jRadioButton0.setSize(22, 24);
  385.         _jRadioButton0.setLocation(0, 0);
  386.         _nsMatrix1.add(_jRadioButton0);
  387.         _jRadioButton1.setSize(22, 24);
  388.         _jRadioButton1.setLocation(0, 24);
  389.         _nsMatrix1.add(_jRadioButton1);
  390.         _setFontForComponent(_nsMatrix1, "Lucida Grande", 13, Font.PLAIN);
  391.  
  392.         if (_replacedObjects.objectForKey("_popup3") == null) {
  393.             _connect(_popup3, _nsMatrix1, "nextFocusableComponent");
  394.         }
  395.  
  396.         if (_replacedObjects.objectForKey("_popup3") == null) {
  397.             _setFontForComponent(_popup3, "Lucida Grande", 11, Font.PLAIN);
  398.         }
  399.  
  400.         if (_replacedObjects.objectForKey("_popup2") == null) {
  401.             _connect(_popup2, _popup3, "nextFocusableComponent");
  402.         }
  403.  
  404.         if (_replacedObjects.objectForKey("_popup2") == null) {
  405.             _setFontForComponent(_popup2, "Lucida Grande", 11, Font.PLAIN);
  406.         }
  407.  
  408.         if (_replacedObjects.objectForKey("_nsTextField1") == null) {
  409.             _connect(_nsTextField1, _popup2, "nextFocusableComponent");
  410.         }
  411.  
  412.         if (_replacedObjects.objectForKey("_nsTextField1") == null) {
  413.             _setFontForComponent(_nsTextField1, "Lucida Grande", 11, Font.PLAIN);
  414.             _nsTextField1.setEditable(true);
  415.             _nsTextField1.setOpaque(true);
  416.             _nsTextField1.setText("");
  417.             _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  418.             _nsTextField1.setSelectable(true);
  419.             _nsTextField1.setEnabled(true);
  420.         }
  421.  
  422.         _connect(_nsMatrix0, _nsTextField1, "nextFocusableComponent");
  423.         _jRadioButton2.setSize(22, 24);
  424.         _jRadioButton2.setLocation(0, 0);
  425.         _nsMatrix0.add(_jRadioButton2);
  426.         _jRadioButton3.setSize(22, 24);
  427.         _jRadioButton3.setLocation(0, 24);
  428.         _nsMatrix0.add(_jRadioButton3);
  429.         _setFontForComponent(_nsMatrix0, "Lucida Grande", 13, Font.PLAIN);
  430.  
  431.         if (_replacedObjects.objectForKey("_popup1") == null) {
  432.             _connect(_popup1, _nsMatrix0, "nextFocusableComponent");
  433.         }
  434.  
  435.         if (_replacedObjects.objectForKey("_popup1") == null) {
  436.             _setFontForComponent(_popup1, "Lucida Grande", 11, Font.PLAIN);
  437.         }
  438.  
  439.         if (_replacedObjects.objectForKey("_popup0") == null) {
  440.             _connect(_popup0, _popup1, "nextFocusableComponent");
  441.         }
  442.  
  443.         if (_replacedObjects.objectForKey("_popup0") == null) {
  444.             _setFontForComponent(_popup0, "Lucida Grande", 11, Font.PLAIN);
  445.         }
  446.  
  447.         if (_replacedObjects.objectForKey("_nsTextField0") == null) {
  448.             _connect(_nsTextField0, _popup0, "nextFocusableComponent");
  449.         }
  450.  
  451.         if (_replacedObjects.objectForKey("_nsTextField0") == null) {
  452.             _setFontForComponent(_nsTextField0, "Lucida Grande", 11, Font.PLAIN);
  453.             _nsTextField0.setEditable(true);
  454.             _nsTextField0.setOpaque(true);
  455.             _nsTextField0.setText("");
  456.             _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  457.             _nsTextField0.setSelectable(true);
  458.             _nsTextField0.setEnabled(true);
  459.         }
  460.  
  461.         if (_replacedObjects.objectForKey("_jRadioButton3") == null) {
  462.             _setFontForComponent(_jRadioButton3, "Lucida Grande", 11, Font.PLAIN);
  463.         }
  464.  
  465.         if (_replacedObjects.objectForKey("_jRadioButton2") == null) {
  466.             _setFontForComponent(_jRadioButton2, "Lucida Grande", 11, Font.PLAIN);
  467.         }
  468.  
  469.         if (_replacedObjects.objectForKey("_jRadioButton1") == null) {
  470.             _setFontForComponent(_jRadioButton1, "Lucida Grande", 11, Font.PLAIN);
  471.         }
  472.  
  473.         if (_replacedObjects.objectForKey("_jRadioButton0") == null) {
  474.             _setFontForComponent(_jRadioButton0, "Lucida Grande", 11, Font.PLAIN);
  475.         }
  476.  
  477.         _setFontForComponent(_nsButton0, "Lucida Grande", 13, Font.PLAIN);
  478.         _nsButton0.setMargin(new Insets(0, 2, 0, 2));
  479.         if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); }
  480.         _nsButton0.setSize(75, 26);
  481.         _nsButton0.setLocation(280, 212);
  482.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MinYMargin);
  483.         _nsView0.add(_nsButton0);
  484.         _nsBox0.setSize(359, 102);
  485.         _nsBox0.setLocation(1, 0);
  486.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.MinYMargin);
  487.         _nsView0.add(_nsBox0);
  488.         _nsBox2.setSize(359, 102);
  489.         _nsBox2.setLocation(1, 106);
  490.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox2, EOViewLayout.MinYMargin);
  491.         _nsView0.add(_nsBox2);
  492.         _nsButton1.setSize(75, 26);
  493.         _nsButton1.setLocation(198, 212);
  494.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinYMargin);
  495.         _nsView0.add(_nsButton1);
  496.         _nsTextField2.setSize(118, 14);
  497.         _nsTextField2.setLocation(11, 218);
  498.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MinYMargin);
  499.         _nsView0.add(_nsTextField2);
  500.  
  501.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  502.             _nsView0.setSize(364, 239);
  503.             _eoFrame0.setTitle("Google Directions");
  504.             _eoFrame0.setLocation(304, 536);
  505.             _eoFrame0.setSize(364, 239);
  506.         }
  507.     }
  508. }
  509.